<?php
/*
	FalconKMS Header and Settings management code
	Version: 1.0-BETA
	Author: Geoff Wilson (g.a.wilson@ncl.ac.uk)
*/

include_once "../config.php";

$sql = "SELECT * FROM `kb_settings`";
$queryResult = mysql_query($sql);
$killboardSettings = mysql_fetch_array($queryResult);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Administation</title>
<link rel="stylesheet" href="../style/desktop.css" />
</head>

<body>

<table style="width:100%">
<tbody align="center">
<tr><td>

<table cellpadding="4" cellspacing="2" class="tableborder" style="width:630px; text-align:left;">
<tr>
	<td style="text-align:center;">
		<a href="/"><img alt="killboard logo" style="border:0;" src="../images/logo.png"/></a>
	</td>
</tr>
<tr>
	<th><?php echo($killboardURL);?></th>
</tr>
<tr>	
	<td style="text-align:center;">
	<a href="/">Killboard Home</a> -
	<a href="index.php">Administation Home</a> 
	</td>
</tr>

<?php

if ($_SERVER['PHP_SELF'] != "/logout.php")
{
	?>
	<tr>
		<th>Login</th>
	</tr>
	<?php
	include_once "login.php";
}
?>